@layout("/common/_tree_container.html",{plugins:["ztree"],js:["/assets/modular/web/gold/gold.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">365天打卡金币奖励设置管理</span>
</div>

<div id="myContiner" style="height: 100%">

    <div class="ui-layout-center">
        <div class="layui-fluid">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <div class="layui-form toolbar">
                                <div class="layui-form-item">
                                    <div class="layui-inline">
                                        <input id="dayNum" class="layui-input" type="text" placeholder="天数"/>
                                    </div>
                                    <div class="layui-inline">
                                        <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                        <button id="btnReset" class="layui-btn icon-btn"><i class="layui-icon">&#xe9aa;</i>重置</button>
                                        @if(shiro.hasPermission("/gold/add")){
                                        <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>生成365天金币</button>
                                        @}
                                    </div>
                                </div>
                            </div>
                            <table class="layui-table" id="GoldTable" lay-filter="GoldTable"></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="tableBar">
    @if(shiro.hasPermission("/gold/edit")){
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    @}
</script>
@}